<#include "/template/blogs/blog-macros.ftl" />
<#include "/template/docs/include/doc-macros.ftl"/>

<html>
<head>

  <title>
      <@ww.text name="profile.user_profile_for.title">
          <@ww.param>${targetUser.username?html}</@ww.param>
      </@ww.text>
  </title>

  <style type="text/css" media="screen">
      @import "<@ww.url value='/styles/jive-global.css' includeParams='none'/>";                                                                          
      @import "<@ww.url value='/styles/jive-profile.css' includeParams='none'/>";
  </style>

  <content tag="breadcrumb">
      <@ww.action name="community-breadcrumb" executeResult="true" ignoreContextParams="true" />

      <a href="<@ww.url value="/people" includeParams="none" />"><@ww.text name="settings.people.brdcrmb.link" /></a>
  </content>
        

</head>
<body>
<script type="text/javascript">
	//<![CDATA[
	// a function to show the journal again
    function helpMe(){				 
		window.open("help-journal-action.jspa?userID=${user.ID?c}","_self");
     } 
    //]]>
</script>

<#assign viewingSelf = true/>
<#include "/template/global/include/view-profile-header.ftl"/>

<!-- BEGIN main body -->
<div id="jive-body-main">


    <!-- BEGIN main body column -->
    <div id="jive-body-maincol-container">
        <div id="jive-body-maincol">

            <!-- BEGIN Journal Content -->
            <div class="jive-content-block-container">
                <h3 class="jive-content-block-header">
               <table width="800"><tr width="800">
	               <td><h3 class="jive-content-block-header"><img src="/clearspacex/plugins/journal/resources/jive-icon-poll-16x16.gif"/>&nbsp;My Fitness Journal</h3></td>
	               <td align="right"><button type="button" onClick="helpMe();">Help</button></td>
               </tr></table>
                <span class="jive-content-block-description"><p>
                    
                </p></span>
                <div class="jive-content-block">
	                <span class="journal-content-block">
	                	<#if autoLogin >
						<iframe src="http://athlete.fitnessjournal.org" width="800" height="1000" frameborder="0"></iframe>
						<#else>
						<iframe src="http://login.fitnessjournal.org" width="800" height="1000" frameborder="0"></iframe>
						</#if>
					</span>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- END main body -->
</body>
</html>
